package com.spring.web.adminmanage.service;



import com.spring.web.adminmanage.entities.Menu;

import java.util.List;

/**
 * Created by chenwenhao on 2017/6/28.
 */


public interface MenuService {
    List<Menu> getMenu(String pId);

    int delete(Long id);

    List<Menu> selectToPageResult(String searchText, String pid);

    Menu getMenuById(Long id);

    void addMenu(Menu menu);

    void update(Menu menu);

    List<Menu> getMenuAll();

    List<Menu> getMenuByRoleId(String roleId);


}
